package cn.stylefeng.guns.modular.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 车间表
 * </p>
 *
 * @author XiangTianGe
 * @since 2020-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_workshop")
public class Workshop implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 车间id
     */
    @TableId(type = IdType.ID_WORKER)
    private Long workshopId;

    /**
     * 工厂id
     */
    private Long plantId;

    /**
     * 车间名称
     */
    private String workshopName;

    /**
     * 车间平面图
     */
    private String workshopPlan;

    /**
     * 创建时间
     */
    private Date createdAt;


}
